/*
** QML对象注册文件
*/
#ifndef MREGISTERCPLUS_H
#define MREGISTERCPLUS_H

#include <QQmlApplicationEngine>
#include <QObject>
#include <QQmlContext>
#include "MPropertyMap.h"




class MRegisterCPlus:public QObject
{
    Q_OBJECT
public:
    MRegisterCPlus(QQmlContext* engine);
    void _InitObject();
    void _initSystem();
    void _initQMLComponent();
    void _initGlobalData();

    void _initConfFile();
    void _initInterface();

    void registerQMLType();
    void registerJSEngineType();
    void _StartRegster(void);
    void _ConnectQMLSignals(void);
private:
    QQmlContext *m_context;
};

#endif // MREGISTERCPLUS_H
